<template>
	<view :class="[checked?'select-status-wrap active':'select-status-wrap']">
		
	</view>
</template>

<script>
	export default {
		name: 'SelectStatus',
		props: {
			checked: {
				type: Boolean,
				default: false
			}
		}
	}
</script>

<style lang="scss" scoped>
	.select-status-wrap {
		width: 20px;
		height: 20px;
		background: #FFFFFF;
		border: 1px solid #BBBBBB;
		border-radius: 50%;
		position: relative;
		margin-right: 15px;
		&::before {
			content: '\2713';
			font-size: 16px;
			color: #FFFFFF;
			position: absolute;
			top: 50%;
			left: 50%;
			transform: translate(-50%, -50%);
		}
		&.active {
			background: $u-primary;
			border-color: $u-primary;
		}
	}
</style>